extends header

block content
	section.container(ng-controller='login') 
		p 这是一个手机自适应页面
		.login
			form(ng-controller="login-chlid" name="login_from"  novalidate)
				.from-group(ng-form="signup_from_input")
					<label for="name">姓名</label><input ng-model="field.name" type="text" class="form-control" name="name" ng-required="field.isRequired"/><div ng-show="signup_from_input.dynamic_input.$dirty&&signup_from_input.dynamic_input.$invalid"><span class="error" ng-show="signup_from_input.dynamic_input.$error.required">必填字段</span></div>
				.from-group
					<label for="password">密码</label><input type="password" ng-model="password" class="form-control" name="field.password" ng-required="field.isRequired"/><div ng-show="signup_from_input.dynamic_input.$dirty&&signup_from_input.dynamic_input.$invalid"><span class="error" ng-show="signup_from_input.dynamic_input.$error.required">必填字段</span></div>
					<p ng-bind="name"></p>
					<p>{{someProperty}}</p>
				<button type="submit" class="btn btn-success" ng-disabled="signup_from.$invalid">登录</button>
				<button type="button" class="btn btn-info" ng-click="someAction()">测试</button>
				<a id="a1" ng-href="{{myHref}}">1</a>
				<a ng-href="{{myHref}}">404</a>
				<p>******************************************<p>
				div(ng-controller="SomeCtrl")
					{{ someBareValue }}
					<button ng-click="someAction()">Communicate to child</button>
					div(ng-controller="ChildCtrl")
						{{ someBareValue }}
						<button ng-click="childAction()">Communicate to parent</button>


